package com.zhia.demo.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.sql.Timestamp;

/**
 * @author DONG
 * @create 2023/11/4 16:30
 */

@TableName("recover")
@Data
public class RecoverEntity {
    @TableId
    private Integer id;
    //回复人的Id
    private Integer userId;
    //在哪条评论下回复的
    private Integer reviewId;
    //回复的内容
    private String content;
    //回复评论的类型 0:评论、1:回复
    private Integer recoverId;
    private Timestamp createTime;

    private Long giveLike;
}
